package com.lf.web.service;

/**
 * Created by 严秋旺 on 2015/1/4.
 * JSON返回信息代码及提示内容
 */
public class ResponseCode {
    /**
     * 完成
     */
    public static final int FINISH = 0;
    /**
     * 成功
     */
    public static final int SUCCESS = 1;
    /**
     * 失败
     */
    public static final int FAILURE = -1;

    /**
     * 验证码错误
     */
    public static final int ERROR_CAPTCHA = 2;

    /**
     * 用户名或密码错误
     */
    public static final int ERROR_USERNAME_OR_PASSWORD = 3;

    /**
     * 重复
     */
    public static final int REPEAT = 4;

    /**
     * 不允许操作
     */
    public static final int REFUSE = 5;

    /**
     * 不存在
     */
    public static final int EXIST_NOT = 6;

    /**
     * 存在
     */
    public static final int EXIST_YES = 7;
}
